package main

import "fmt"

func main() {
	var sl = []int{5, 19, 6, 3, 8, 12}
	var firstEven int = -1

loop:
	for i := 0; i < len(sl); i++ {
		switch sl[i] % 2 {
		case 0:
			firstEven = sl[i]
			break loop
		case 1:
			fmt.Printf("%d not even \n", sl[i])
		}
	}

	fmt.Println("first event is", firstEven)
}
